$(function(){
	var str=localStorage.getItem('goodsID');
	$.ajax({
		type:"get",
		url:'http://datainfo.duapp.com/shopdata/getGoods.php',
		dataType:'jsonp',
		data:{goodsID:str},
		success:function(data){
			console.log(data)
			var text="";
			for(var a=0;a<data.length;a++){
			text+="<div class='ziliao'><img src='"+
			data[a].goodsListImg+"'/><div class='txt'>"+
			data[a].detail+"</div></div>"
			}
			$('.ziliaos').append(text)
		}
		
	})
})
